package com.wulian.entities;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class Record implements Serializable {

    private Long record_id;

    private Patient patient; //病人

    private String record_symptom;//主要病历

    private String record_case_history;//病史

    private String record_check;//检查

    private String record_treat_plan;//治疗计划

    private Doctor doctor; //主治医生

    private Department department; //部门

    private Date record_time;//诊断时间

    public Record(Patient patient, String record_symptom, String record_case_history, String record_check, String record_treat_plan, Doctor doctor, Department department, Date record_time) {
        this.patient = patient;
        this.record_symptom = record_symptom;
        this.record_case_history = record_case_history;
        this.record_check = record_check;
        this.record_treat_plan = record_treat_plan;
        this.doctor = doctor;
        this.department = department;
        this.record_time = record_time;
    }
}
